package com.base.common.edu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Maple.Chen
 * @Description 学生订购教材记录信息实体
 * @Date 23:28 2021/2/7
 **/
@Data
@ApiModel(description = "学生订购教材记录信息实体")
@JsonIgnoreProperties(value = {"handler"})
public class TextbookOrder implements Serializable {

    private static final long serialVersionUID = 3348487146199947060L;
    @ApiModelProperty( value = "教材订购记录表记录ID,Oracle自增序列")
    private Integer orderTextbookId;
    @ApiModelProperty( value = "stuId相关联学生实体")
    private Student student;
    @ApiModelProperty( value = "订购教材书号")
    private String isbn;
    @ApiModelProperty( value = "订购状态（-1：已取消，0：待付款，1：已付款）")
    private Integer status;
    @ApiModelProperty( value = "最后修改时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

}
